#define _CRT_SECURE_NO_WARNINGS
#include"BTNode.h"
int main() {
	BT* a = (BT*)malloc(sizeof(BT));
	a->data = 'A';
	a->left = NULL;
	a->ringth = NULL;
	BT* b = (BT*)malloc(sizeof(BT));
	b->data = 'B';
	b->left = NULL;
	b->ringth = NULL;
	BT* c = (BT*)malloc(sizeof(BT));
	c->data = 'C';
	c->left = NULL;
	c->ringth = NULL;
	BT* d = (BT*)malloc(sizeof(BT));
	d->data = 'D';
	d->left = NULL;
	d->ringth = NULL;
	BT* e = (BT*)malloc(sizeof(BT));
	e->data = 'E';
	e->left = NULL;
	e->ringth = NULL;
	a->left = b;
	a->ringth = c;
	b->left = d;
	b->ringth = e;
	PrevOrder(a);
	printf("\n");
	InOrder(a);
	printf("\n");
	PostOrder(a);
}